package com.hecate;

import java.util.*;

/**
 * @author 黄星星
 * @date 2020-04-14
 */
public class MyThread {

    public static void main(String ards[]){
        for(int i=0;i<10;i++){
            new ExtendsThread().start();
        }
        System.out.println(Thread.currentThread().getName());
    }
    List list = new ArrayList();
    List list1 = new LinkedList();
    Set set = new HashSet();


    HashMap hashMap = new HashMap();

}

class ExtendsThread extends Thread{
    @Override
    public void run() {
        System.out.println("--------" + Thread.currentThread().getName());
    }
}